@import "../../common/less/variable";

.net-home-wrap {
    width: 100%;
    height: 100%;
    background-color: var(--body-bgcolor);
    color: var(--font-color);

    .search {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
        display: flex;
        padding: 10px 15px 10px 15px;
        align-items: center;
        color: var(--font-color);
        background-color:#FFFFFF;
        z-index: 10;

        .iconliebiao {
            font-size: 16px;
        }

        .search-input {
            height: 30px;
            flex: 1;
            margin: 0 15px;
            background-color: #F5F5F5;
            
            border-radius: 6px;
            display: flex;
            align-items: center;
            padding-left: 10px;
            font-size: @font_size_small-s;
            color: #989898;

            .iconsousuo {
                font-size: 16px;
                margin-right: 6px;
            }
        }

        .icontinggeshiqu40x40 {
            font-size: 16px;
        }
    }

    .loading-wrap {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
        width: 300px;
    }

    .net-home {
        overflow: hidden;
        position: fixed;
        top: 50px;
        bottom: 0;
        left: 0;
        right: 0;
        //background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);

        &.bottom {
            bottom: 55px;
        }

        .net-home-content {
            .swiper-container {
                color: var(--font-color);
                position: relative;
                height: 144px;

                &:after {
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    /*background-image: var(--bacUrl);*/
                    filter: blur(200px);
                    background-size: 100% 100%;
                }

                .swiper-content {
                    padding: 0 15px 0 15px;

                    .my-swipe {
                        width: 100%;
                        overflow: hidden;
                        border-radius: 5px;

                        .van-swipe-item {
                            color: #fff;
                            font-size: 20px;
                            text-align: center;
                            display: inline-block;
                            border-radius: 5px;
                            overflow: hidden;

                            .swip-item-img {
                                width: 100%;
                                height: 144px;
                                border-radius: 5px;
                            }
                        }
                    }
                    .no-data-wrap {
                        position: relative;
                        height: 144px;
                        background-color: #ffffff;
                        .no-data-icon {
                            width: 100px;
                            height: 100px;
                            background-image: url("./Icon - no data available.png");
                            background-repeat: no-repeat;
                            background-size: 100% 100%;
                            background-position: center center;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate3d(-50%, -50%, 0);
                            .no-data-txt {
                                font-size: 12px;
                                color: #1683fe;
                                line-height: 22px;
                                position: absolute;
                                bottom: 0px;
                                left: 50%;
                                transform: translate3d(-50%, 0, 0);
                            }
                        }
                    }
                }
            }
            .home-bac {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 600px;
                background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
                z-index: -1;
            }
            .net-nav-wrap {
                padding: 24px 0 24px 0;
                margin-left: 15px;
                margin-right: 15px;
                overflow: hidden;

                .nav-content {
                    display: flex;
                    width: 375px;

                    .nav-item {
                        //padding-right: 10px;
                        text-align: center;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        flex-direction: column;
                        &:last-child {
                            padding-right: 0;
                        }

                        .nav-icon {
                            width: 50px;
                            height: 50px;
                            margin-bottom: 10px;
                            .img {
                                width: 100%;
                                height: 100%;
                            }
                        }

                        .text {
                            font-size: @font_size_small-m;
                            width: 75px;
                            text-align: center;
                        }
                    }
                }
            }

            .private-custom-made {
                margin: 0 15px 0 15px;
                padding-top: 10px;
                position: relative;

                .custom-made-title {
                    .title {
                        font-size: @font_size_small-s;
                        margin-bottom: 10px;
                        color: rgb(179, 179, 179);
                    }

                    .refresh {
                        font-size: @font_size_medium-s;
                        font-family: PingFangSC-Medium;
                        font-weight: 500;

                        .iconrefresh {
                            font-size: @font_size_medium-s;
                            margin-right: 11px;
                        }
                    }
                }

                .play-muisc {
                    position: absolute;
                    top: 58px;
                    right: 0;
                    width: 70px;
                    height: 26px;
                    border: 1px solid var(--btn-border-color);
                    border-radius: 12px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: @font_size_small-m;

                    .iconbofang4 {
                        margin-right: 5px;
                    }

                    .iconzanting {
                        margin-right: 5px;
                    }
                }

                .private-song-wrap {
                    padding: 45px 0 20px 0;

                    .private-song-content {
                        .private-song-list {
                            .item {
                                display: flex;
                                //width: 468px;
                                margin-bottom: 15px;
                                background-color: #ffffff;
                                padding-bottom: 5px;
                                padding-top: 5px;

                                &:last-child {
                                    margin-bottom: 0;
                                }

                                .cover {
                                    width: 60px;
                                    height: 60px;
                                    margin-right: 10px;
                                    flex: 0 0 60px;
                                    position: relative;

                                    .cover-imgage {
                                        width: 100%;
                                        height: 100%;
                                        border-radius: 7px;
                                    }

                                    .iconbofangliang1 {
                                        font-size: 16px;
                                        position: absolute;
                                        left: 50%;
                                        top: 50%;
                                        transform: translate3d(-50%, -50%, 0);
                                        color: rgb(255, 255, 255);
                                    }
                                }

                                .desc {
                                    flex: 1;
                                    border-bottom: 1px solid rgb(230, 230, 230);

                                    &:last-child {
                                        border-bottom: 0;
                                    }

                                    .name {
                                        font-size: @font_size_small-s;
                                        display: flex;
                                        align-items: center;
                                        color: rgb(153, 153, 153);
                                        margin-top: 15px;
                                        margin-bottom: 15px;

                                        .text {
                                            font-size: @font_size_small-s;
                                            color: rgb(51, 51, 51);
                                        }

                                        .horizontal {
                                            margin: 0 5px;
                                        }
                                    }

                                    .lyric-overview {
                                        padding-bottom: 18px;
                                        font-size: @font_size_medium-s;
                                    }
                                }
                            }
                        }
                    }
                    .no-data-wrap {
                        position: relative;
                        height: 200px;
                        background-color: #ffffff;
                        .no-data-icon {
                            width: 200px;
                            height: 200px;
                            background-image: url("./Icon - no data available.png");
                            background-repeat: no-repeat;
                            background-size: 100% 100%;
                            background-position: center center;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate3d(-50%, -50%, 0);
                            .no-data-txt {
                                font-size: 14px;
                                color: #1683fe;
                                line-height: 22px;
                                position: absolute;
                                bottom: 12px;
                                left: 50%;
                                transform: translate3d(-50%, 0, 0);
                            }
                        }
                    }
                }
            }
        }
    }
}

.net-home {
    /deep/ .van-swipe__indicator {
        width: 12px;
        height: 3px;
        border-radius: 1px;
    }
}